/*
 * BufferUtility.h
 *
 *  Created on: 15-Oct-2013
 *      Author: pridhvi
 */

#ifndef BUFFERUTILITY_H_
#define BUFFERUTILITY_H_
#include <string>
#include <fstream>
#include "../dependency/GlobalStructures.h"
#include "../Global/GlobalVar.h"
#include "../dependency/debug.h"



using namespace std;

class BufferUtility {
public:
	BufferUtility();
	virtual ~BufferUtility();


	/***
	 * Checks for DATABASE Name already exists or not
	 */
	STATUS_CODE isDBExist(string dbName);

	/***
	 * Checks if the database is open or not
	 */
	STATUS_CODE isDBOpen(string dbName);

};

#endif /* BUFFERUTILITY_H_ */
